import easygui as e
import urllib.request as r

url='http://placekitten.com'
test=e.multenterbox('请输入尺寸','尺寸框',['宽','高'])
pop='/'+test[0]+'/'+test[1]
html_pop=url+pop



html=r.urlopen(html_pop)
hh=html.read()

yy=e.filesavebox()
with open(yy,'wb')as f:
    f.write(hh)
e.msgbox('已经保存完毕请在%s下查看文件'%yy)
